<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>教材版本对比分析 - 详细报告</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/chart.js@4.4.8/dist/chart.umd.min.js"></script>
    
    <!-- Tailwind 配置 -->
    <script>
        tailwind.config = {
            theme: {
                extend: {
                    colors: {
                        primary: '#165DFF',
                        renjiao: '#4E72B7',      // 人教版 - 蓝色
                        sujiao: '#E4A12D',       // 苏教版 - 橙色
                        beishida: '#55A954',     // 北师大版 - 绿色
                        hukejiao: '#C45A5A',     // 沪科版 - 红色
                    },
                    fontFamily: {
                        sans: ['Inter', 'system-ui', 'sans-serif'],
                    },
                }
            }
        }
    </script>
    
    <style type="text/tailwindcss">
        @layer utilities {
            .content-auto {
                content-visibility: auto;
            }
            .scrollbar-thin {
                scrollbar-width: thin;
            }
            .scrollbar-thin::-webkit-scrollbar {
                width: 4px;
                height: 4px;
            }
            .scrollbar-thin::-webkit-scrollbar-thumb {
                background-color: rgba(156, 163, 175, 0.5);
                border-radius: 2px;
            }
            .diff-added {
                @apply bg-green-50 border-l-4 border-green-500;
            }
            .diff-removed {
                @apply bg-red-50 border-l-4 border-red-500;
            }
            .diff-modified {
                @apply bg-yellow-50 border-l-4 border-yellow-500;
            }
            .version-highlight {
                @apply font-medium px-1.5 py-0.5 rounded-sm;
            }
        }
    </style>
</head>
<body class="bg-gray-50 font-sans text-gray-800 min-h-screen">
    <!-- 顶部导航栏 -->
    <header class="bg-white shadow-sm sticky top-0 z-50">
        <div class="container mx-auto px-4 py-3 flex items-center justify-between">
            <div class="flex items-center space-x-2">
                <button class="lg:hidden text-gray-500 hover:text-primary transition-colors">
                    <i class="fa fa-bars text-xl"></i>
                </button>
                <h1 class="text-xl font-bold text-primary flex items-center">
                    <i class="fa fa-book mr-2"></i>
                    <span>教材版本对比系统</span>
                </h1>
            </div>
            
            <div class="hidden md:flex items-center space-x-6">
                <a href="#" class="text-gray-600 hover:text-primary transition-colors">首页</a>
                <a href="#" class="text-gray-600 hover:text-primary transition-colors">教材库</a>
                <a href="#" class="text-primary font-medium border-b-2 border-primary pb-1">版本对比</a>
                <a href="#" class="text-gray-600 hover:text-primary transition-colors">分析报告</a>
                <a href="#" class="text-gray-600 hover:text-primary transition-colors">帮助中心</a>
            </div>
            
            <div class="flex items-center space-x-4">
                <div class="relative">
                    <input type="text" placeholder="搜索教材、知识点..." 
                           class="pl-10 pr-4 py-2 rounded-full bg-gray-100 focus:outline-none focus:ring-2 focus:ring-primary/20 transition-all w-40 lg:w-64">
                    <i class="fa fa-search absolute left-3 top-1/2 transform -translate-y-1/2 text-gray-400"></i>
                </div>
                
                <div class="flex items-center space-x-2 cursor-pointer group">
                    <img src="https://picsum.photos/id/64/40/40" alt="用户头像" class="w-8 h-8 rounded-full object-cover border-2 border-transparent group-hover:border-primary transition-all">
                    <span class="hidden md:inline font-medium">李老师</span>
                    <i class="fa fa-angle-down text-gray-400 group-hover:text-primary transition-colors"></i>
                </div>
            </div>
        </div>
    </header>

    <!-- 主内容区 -->
    <main class="container mx-auto px-4 py-6 lg:py-8">
        <!-- 面包屑导航 -->
        <div class="flex items-center text-sm text-gray-500 mb-6">
            <a href="#" class="hover:text-primary">首页</a>
            <i class="fa fa-angle-right mx-2 text-gray-300"></i>
            <a href="#" class="hover:text-primary">高中数学</a>
            <i class="fa fa-angle-right mx-2 text-gray-300"></i>
            <a href="#" class="hover:text-primary">必修第一册</a>
            <i class="fa fa-angle-right mx-2 text-gray-300"></i>
            <span class="text-primary font-medium">第一章 集合与常用逻辑用语</span>
        </div>
        
        <!-- 对比配置区 -->
        <div class="bg-white rounded-xl shadow-sm p-5 mb-6">
            <div class="flex flex-col md:flex-row md:items-center justify-between">
                <div>
                    <h2 class="text-xl font-bold text-gray-800">版本对比配置</h2>
                    <p class="text-gray-500 mt-1">选择需要对比的教材版本和章节内容</p>
                </div>
                
                <div class="flex space-x-3 mt-4 md:mt-0">
                    <button class="bg-gray-100 text-gray-700 px-4 py-2 rounded-lg hover:bg-gray-200 transition-colors flex items-center">
                        <i class="fa fa-download mr-2"></i> 导出报告
                    </button>
                    <button class="bg-primary text-white px-4 py-2 rounded-lg hover:bg-primary/90 transition-colors flex items-center">
                        <i class="fa fa-refresh mr-2"></i> 重新对比
                    </button>
                </div>
            </div>
            
            <div class="grid grid-cols-1 md:grid-cols-4 gap-4 mt-6">
                <div>
                    <label class="block text-sm font-medium text-gray-700 mb-1">学科</label>
                    <select class="w-full appearance-none bg-gray-50 border border-gray-200 rounded-lg px-3 py-2 pr-8 focus:outline-none focus:ring-2 focus:ring-primary/20 focus:border-primary">
                        <option selected>高中数学</option>
                        <option>高中物理</option>
                        <option>高中化学</option>
                        <option>高中生物</option>
                    </select>
                </div>
                
                <div>
                    <label class="block text-sm font-medium text-gray-700 mb-1">教材版本</label>
                    <div class="flex flex-wrap gap-2">
                        <span class="version-highlight bg-renjiao/20 text-renjiao border border-renjiao/30">人教版 2023</span>
                        <span class="version-highlight bg-sujiao/20 text-sujiao border border-sujiao/30">苏教版 2022</span>
                        <span class="version-highlight bg-beishida/20 text-beishida border border-beishida/30">北师大版 2023</span>
                        <button class="text-gray-400 hover:text-gray-600 border border-dashed border-gray-300 px-2 py-1 rounded">
                            <i class="fa fa-plus"></i>
                        </button>
                    </div>
                </div>
                
                <div>
                    <label class="block text-sm font-medium text-gray-700 mb-1">册别</label>
                    <select class="w-full appearance-none bg-gray-50 border border-gray-200 rounded-lg px-3 py-2 pr-8 focus:outline-none focus:ring-2 focus:ring-primary/20 focus:border-primary">
                        <option>必修第一册</option>
                        <option>必修第二册</option>
                        <option>必修第三册</option>
                        <option>选择性必修第一册</option>
                        <option>选择性必修第二册</option>
                    </select>
                </div>
                
                <div>
                    <label class="block text-sm font-medium text-gray-700 mb-1">章节</label>
                    <select class="w-full appearance-none bg-gray-50 border border-gray-200 rounded-lg px-3 py-2 pr-8 focus:outline-none focus:ring-2 focus:ring-primary/20 focus:border-primary">
                        <option selected>第一章 集合与常用逻辑用语</option>
                        <option>第二章 一元二次函数、方程和不等式</option>
                        <option>第三章 函数概念与性质</option>
                        <option>第四章 指数函数与对数函数</option>
                    </select>
                </div>
            </div>
        </div>
        
        <!-- 对比概览 -->
        <div class="grid grid-cols-1 lg:grid-cols-3 gap-6 mb-6">
            <!-- 知识点覆盖度 -->
            <div class="bg-white rounded-xl shadow-sm p-5">
                <div class="flex items-center justify-between mb-4">
                    <h3 class="font-bold text-gray-800">知识点覆盖度</h3>
                    <button class="text-gray-400 hover:text-gray-600">
                        <i class="fa fa-ellipsis-v"></i>
                    </button>
                </div>
                
                <div class="h-64">
                    <canvas id="coverage-chart"></canvas>
                </div>
                
                <div class="mt-4 grid grid-cols-3 gap-2 text-center">
                    <div>
                        <div class="text-2xl font-bold text-renjiao">12</div>
                        <div class="text-xs text-gray-500">人教版</div>
                    </div>
                    <div>
                        <div class="text-2xl font-bold text-sujiao">10</div>
                        <div class="text-xs text-gray-500">苏教版</div>
                    </div>
                    <div>
                        <div class="text-2xl font-bold text-beishida">14</div>
                        <div class="text-xs text-gray-500">北师大版</div>
                    </div>
                </div>
            </div>
            
            <!-- 内容结构对比 -->
            <div class="bg-white rounded-xl shadow-sm p-5">
                <div class="flex items-center justify-between mb-4">
                    <h3 class="font-bold text-gray-800">内容结构对比</h3>
                    <button class="text-gray-400 hover:text-gray-600">
                        <i class="fa fa-ellipsis-v"></i>
                    </button>
                </div>
                
                <div class="h-64">
                    <canvas id="structure-chart"></canvas>
                </div>
                
                <div class="mt-4 text-sm text-gray-500">
                    <p>北师大版对集合运算的内容占比最高，苏教版更侧重逻辑用语</p>
                </div>
            </div>
            
            <!-- 难度分布 -->
            <div class="bg-white rounded-xl shadow-sm p-5">
                <div class="flex items-center justify-between mb-4">
                    <h3 class="font-bold text-gray-800">难度分布</h3>
                    <button class="text-gray-400 hover:text-gray-600">
                        <i class="fa fa-ellipsis-v"></i>
                    </button>
                </div>
                
                <div class="h-64">
                    <canvas id="difficulty-chart"></canvas>
                </div>
                
                <div class="mt-4 text-sm text-gray-500">
                    <p>苏教版整体难度偏高，人教版难度分布更均衡</p>
                </div>
            </div>
        </div>
        
        <!-- 详细对比内容 -->
        <div class="bg-white rounded-xl shadow-sm mb-6 overflow-hidden">
            <div class="border-b px-5 py-4">
                <h3 class="font-bold text-gray-800">知识点详细对比</h3>
                <p class="text-gray-500 mt-1">各版本对相同知识点的讲解差异分析</p>
            </div>
            
            <!-- 知识点1：集合的概念 -->
            <div class="border-b px-5 py-6">
                <div class="flex items-center justify-between mb-4">
                    <h4 class="text-lg font-bold text-gray-800">1.1 集合的概念</h4>
                    <span class="px-3 py-1 bg-blue-100 text-blue-800 text-sm rounded-full">基础知识点</span>
                </div>
                
                <div class="grid grid-cols-1 md:grid-cols-3 gap-6">
                    <!-- 人教版 -->
                    <div class="border border-gray-100 rounded-lg p-4">
                        <div class="flex items-center mb-3">
                            <div class="w-3 h-3 rounded-full bg-renjiao mr-2"></div>
                            <h5 class="font-medium text-renjiao">人教版 2023</h5>
                        </div>
                        
                        <div class="space-y-3">
                            <p class="text-gray-700 text-sm">
                                集合是指具有某种特定性质的具体的或抽象的对象汇总而成的集体。其中，构成集合的这些对象则称为该集合的元素。
                            </p>
                            
                            <div class="diff-modified p-3 text-sm">
                                <p class="text-gray-700">
                                    <span class="font-medium">新增内容：</span>集合论的创始人是康托尔，他在1874年提出了集合的概念...
                                </p>
                            </div>
                            
                            <div class="mt-2">
                                <div class="text-xs text-gray-500 mb-1">重点强调：</div>
                                <div class="flex flex-wrap gap-2">
                                    <span class="px-2 py-0.5 bg-gray-100 text-gray-700 text-xs rounded">元素的确定性</span>
                                    <span class="px-2 py-0.5 bg-gray-100 text-gray-700 text-xs rounded">互异性</span>
                                    <span class="px-2 py-0.5 bg-gray-100 text-gray-700 text-xs rounded">无序性</span>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <!-- 苏教版 -->
                    <div class="border border-gray-100 rounded-lg p-4">
                        <div class="flex items-center mb-3">
                            <div class="w-3 h-3 rounded-full bg-sujiao mr-2"></div>
                            <h5 class="font-medium text-sujiao">苏教版 2022</h5>
                        </div>
                        
                        <div class="space-y-3">
                            <p class="text-gray-700 text-sm">
                                一般地，一定范围内某些确定的、不同的对象的全体构成一个集合。集合中的每一个对象称为该集合的元素，简称元。
                            </p>
                            
                            <div class="diff-removed p-3 text-sm">
                                <p class="text-gray-700">
                                    <span class="font-medium">删减内容：</span>原2019版中关于集合与元素关系的数学史内容被删减...
                                </p>
                            </div>
                            
                            <div class="mt-2">
                                <div class="text-xs text-gray-500 mb-1">重点强调：</div>
                                <div class="flex flex-wrap gap-2">
                                    <span class="px-2 py-0.5 bg-gray-100 text-gray-700 text-xs rounded">集合的表示方法</span>
                                    <span class="px-2 py-0.5 bg-gray-100 text-gray-700 text-xs rounded">元素与集合的关系</span>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <!-- 北师大版 -->
                    <div class="border border-gray-100 rounded-lg p-4">
                        <div class="flex items-center mb-3">
                            <div class="w-3 h-3 rounded-full bg-beishida mr-2"></div>
                            <h5 class="font-medium text-beishida">北师大版 2023</h5>
                        </div>
                        
                        <div class="space-y-3">
                            <p class="text-gray-700 text-sm">
                                集合是数学中一个基本概念，它是集合论的研究对象。现代集合论的基本理论由德国数学家康托尔在19世纪末创立。
                            </p>
                            
                            <div class="diff-added p-3 text-sm">
                                <p class="text-gray-700">
                                    <span class="font-medium">新增内容：</span>引入了"朴素集合论"和"公理化集合论"的概念对比...
                                </p>
                            </div>
                            
                            <div class="mt-2">
                                <div class="text-xs text-gray-500 mb-1">重点强调：</div>
                                <div class="flex flex-wrap gap-2">
                                    <span class="px-2 py-0.5 bg-gray-100 text-gray-700 text-xs rounded">集合论的历史</span>
                                    <span class="px-2 py-0.5 bg-gray-100 text-gray-700 text-xs rounded">康托尔的贡献</span>
                                    <span class="px-2 py-0.5 bg-gray-100 text-gray-700 text-xs rounded">罗素悖论</span>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 知识点2：集合的表示方法 -->
            <div class="border-b px-5 py-6">
                <div class="flex items-center justify-between mb-4">
                    <h4 class="text-lg font-bold text-gray-800">1.2 集合的表示方法</h4>
                    <span class="px-3 py-1 bg-blue-100 text-blue-800 text-sm rounded-full">基础知识点</span>
                </div>
                
                <div class="grid grid-cols-1 md:grid-cols-3 gap-6">
                    <!-- 人教版 -->
                    <div class="border border-gray-100 rounded-lg p-4">
                        <div class="flex items-center mb-3">
                            <div class="w-3 h-3 rounded-full bg-renjiao mr-2"></div>
                            <h5 class="font-medium text-renjiao">人教版 2023</h5>
                        </div>
                        
                        <div class="space-y-3">
                            <p class="text-gray-700 text-sm">
                                集合的表示方法通常有以下几种：列举法、描述法、图示法（Venn图）。列举法是将集合中的元素一一列举出来，描述法是用确定的条件表示某些对象是否属于这个集合。
                            </p>
                            
                            <div class="mt-2">
                                <div class="text-xs text-gray-500 mb-1">示例：</div>
                                <div class="bg-gray-50 p-2 rounded text-xs">
                                    <p>列举法：A = {1, 2, 3}</p>
                                    <p>描述法：B = {x | x是偶数，x < 10}</p>
                                </div>
                            </div>
                            
                            <div class="mt-2">
                                <div class="text-xs text-gray-500 mb-1">重点强调：</div>
                                <div class="flex flex-wrap gap-2">
                                    <span class="px-2 py-0.5 bg-gray-100 text-gray-700 text-xs rounded">描述法的规范写法</span>
                                    <span class="px-2 py-0.5 bg-gray-100 text-gray-700 text-xs rounded">两种方法的适用场景</span>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <!-- 苏教版 -->
                    <div class="border border-gray-100 rounded-lg p-4">
                        <div class="flex items-center mb-3">
                            <div class="w-3 h-3 rounded-full bg-sujiao mr-2"></div>
                            <h5 class="font-medium text-sujiao">苏教版 2022</h5>
                        </div>
                        
                        <div class="space-y-3">
                            <p class="text-gray-700 text-sm">
                                集合的表示方法主要有：列举法、描述法、区间表示法和Venn图法。区间表示法适用于连续的实数集合。
                            </p>
                            
                            <div class="mt-2">
                                <div class="text-xs text-gray-500 mb-1">示例：</div>
                                <div class="bg-gray-50 p-2 rounded text-xs">
                                    <p>区间表示法：C = [1, 5)</p>
                                    <p>描述法：D = {(x,y) | y = x², x∈R}</p>
                                </div>
                            </div>
                            
                            <div class="mt-2">
                                <div class="text-xs text-gray-500 mb-1">重点强调：</div>
                                <div class="flex flex-wrap gap-2">
                                    <span class="px-2 py-0.5 bg-gray-100 text-gray-700 text-xs rounded">区间表示法</span>
                                    <span class="px-2 py-0.5 bg-gray-100 text-gray-700 text-xs rounded">二维集合的表示</span>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <!-- 北师大版 -->
                    <div class="border border-gray-100 rounded-lg p-4">
                        <div class="flex items-center mb-3">
                            <div class="w-3 h-3 rounded-full bg-beishida mr-2"></div>
                            <h5 class="font-medium text-beishida">北师大版 2023</h5>
                        </div>
                        
                        <div class="space-y-3">
                            <p class="text-gray-700 text-sm">
                                集合的表示方法包括：列举法、描述法、递归定义法和特征函数法。递归定义法在计算机科学中有重要应用。
                            </p>
                            
                            <div class="mt-2">
                                <div class="text-xs text-gray-500 mb-1">示例：</div>
                                <div class="bg-gray-50 p-2 rounded text-xs">
                                    <p>递归定义法：自然数集N = {0} ∪ {n+1 | n∈N}</p>
                                    <p>特征函数法：χA(x) = 1 (x∈A), 0 (x∉A)</p>
                                </div>
                            </div>
                            
                            <div class="mt-2">
                                <div class="text-xs text-gray-500 mb-1">重点强调：</div>
                                <div class="flex flex-wrap gap-2">
                                    <span class="px-2 py-0.5 bg-gray-100 text-gray-700 text-xs rounded">递归定义</span>
                                    <span class="px-2 py-0.5 bg-gray-100 text-gray-700 text-xs rounded">特征函数</span>
                                    <span class="px-2 py-0.5 bg-gray-100 text-gray-700 text-xs rounded">集合的计算机表示</span>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 知识点3：集合间的基本关系 -->
            <div class="px-5 py-6">
                <div class="flex items-center justify-between mb-4">
                    <h4 class="text-lg font-bold text-gray-800">1.3 集合间的基本关系</h4>
                    <span class="px-3 py-1 bg-blue-100 text-blue-800 text-sm rounded-full">核心知识点</span>
                </div>
                
                <div class="grid grid-cols-1 md:grid-cols-3 gap-6">
                    <!-- 人教版 -->
                    <div class="border border-gray-100 rounded-lg p-4">
                        <div class="flex items-center mb-3">
                            <div class="w-3 h-3 rounded-full bg-renjiao mr-2"></div>
                            <h5 class="font-medium text-renjiao">人教版 2023</h5>
                        </div>
                        
                        <div class="space-y-3">
                            <p class="text-gray-700 text-sm">
                                集合间的基本关系包括：子集、真子集、相等集合。如果集合A中任意一个元素都是集合B中的元素，我们就说这两个集合有包含关系，称集合A为集合B的子集。
                            </p>
                            
                            <div class="mt-2">
                                <div class="text-xs text-gray-500 mb-1">符号表示：</div>
                                <div class="bg-gray-50 p-2 rounded text-xs">
                                    <p>A⊆B (A是B的子集)</p>
                                    <p>A⊂B (A是B的真子集)</p>
                                    <p>A=B (A与B相等)</p>
                                </div>
                            </div>
                            
                            <div class="mt-2">
                                <div class="text-xs text-gray-500 mb-1">重点强调：</div>
                                <div class="flex flex-wrap gap-2">
                                    <span class="px-2 py-0.5 bg-gray-100 text-gray-700 text-xs rounded">空集是任何集合的子集</span>
                                    <span class="px-2 py-0.5 bg-gray-100 text-gray-700 text-xs rounded">子集与真子集的区别</span>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <!-- 苏教版 -->
                    <div class="border border-gray-100 rounded-lg p-4">
                        <div class="flex items-center mb-3">
                            <div class="w-3 h-3 rounded-full bg-sujiao mr-2"></div>
                            <h5 class="font-medium text-sujiao">苏教版 2022</h5>
                        </div>
                        
                        <div class="space-y-3">
                            <p class="text-gray-700 text-sm">
                                集合间的关系包括：包含关系、相等关系、不相交关系。特别地，当两个集合的交集为空集时，称这两个集合不相交。
                            </p>
                            
                            <div class="mt-2">
                                <div class="text-xs text-gray-500 mb-1">新增概念：</div>
                                <div class="bg-gray-50 p-2 rounded text-xs">
                                    <p>A∩B=∅ (A与B不相交)</p>
                                    <p>A⊇B (A包含B)</p>
                                    <p>A⊃B (A真包含B)</p>
                                </div>
                            </div>
                            
                            <div class="mt-2">
                                <div class="text-xs text-gray-500 mb-1">重点强调：</div>
                                <div class="flex flex-wrap gap-2">
                                    <span class="px-2 py-0.5 bg-gray-100 text-gray-700 text-xs rounded">集合关系的对称性</span>
                                    <span class="px-2 py-0.5 bg-gray-100 text-gray-700 text-xs rounded">不相交集合的应用</span>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <!-- 北师大版 -->
                    <div class="border border-gray-100 rounded-lg p-4">
                        <div class="flex items-center mb-3">
                            <div class="w-3 h-3 rounded-full bg-beishida mr-2"></div>
                            <h5 class="font-medium text-beishida">北师大版 2023</h5>
                        </div>
                        
                        <div class="space-y-3">
                            <p class="text-gray-700 text-sm">
                                集合间的关系可从序理论的角度进行研究，包括偏序关系、全序关系和格结构。子集关系是一种典型的偏序关系。
                            </p>
                            
                            <div class="mt-2">
                                <div class="text-xs text-gray-500 mb-1">理论扩展：</div>
                                <div class="bg-gray-50 p-2 rounded text-xs">
                                    <p>偏序关系的三个性质：自反性、反对称性、传递性</p>
                                    <p>幂集的概念：集合A的所有子集构成的集合称为A的幂集</p>
                                </div>
                            </div>
                            
                            <div class="mt-2">
                                <div class="text-xs text-gray-500 mb-1">重点强调：</div>
                                <div class="flex flex-wrap gap-2">
                                    <span class="px-2 py-0.5 bg-gray-100 text-gray-700 text-xs rounded">偏序关系的数学定义</span>
                                    <span class="px-2 py-0.5 bg-gray-100 text-gray-700 text-xs rounded">幂集的基数</span>
                                    <span class="px-2 py-0.5 bg-gray-100 text-gray-700 text-xs rounded">哈斯图表示</span>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- 分析建议 -->
        <div class="bg-white rounded-xl shadow-sm p-6 mb-6">
            <div class="flex items-center justify-between mb-4">
                <h3 class="font-bold text-gray-800">对比分析建议</h3>
                <button class="text-primary hover:text-primary/80 text-sm flex items-center">
                    <i class="fa fa-edit mr-1"></i> 添加建议
                </button>
            </div>
            
            <div class="space-y-4">
                <div class="bg-blue-50 border-l-4 border-blue-500 p-4">
                    <div class="flex">
                        <div class="flex-shrink-0">
                            <i class="fa fa-lightbulb-o text-blue-400 text-xl"></i>
                        </div>
                        <div class="ml-3">
                            <h4 class="text-sm font-medium text-blue-800">教学重点建议</h4>
                            <div class="mt-2 text-sm text-blue-700">
                                <p>人教版对集合基本概念的讲解最为详细，建议在引入集合概念时以人教版为主要参考，结合北师大版对集合论历史的介绍，增加学生的学习兴趣。</p>
                            </div>
                        </div>
                    </div>
                </div>
                
                <div class="bg-green-50 border-l-4 border-green-500 p-4">
                    <div class="flex">
                        <div class="flex-shrink-0">
                            <i class="fa fa-check-circle text-green-400 text-xl"></i>
                        </div>
                        <div class="ml-3">
                            <h4 class="text-sm font-medium text-green-800">版本优势利用</h4>
                            <div class="mt-2 text-sm text-green-700">
                                <p>北师大版对集合表示方法的讲解更全面，尤其是递归定义法和特征函数法，适合对数学有较高兴趣的学生拓展学习。苏教版对区间表示法的强调值得借鉴，这对后续函数学习有帮助。</p>
                            </div>
                        </div>
                    </div>
                </div>
                
                <div class="bg-yellow-50 border-l-4 border-yellow-500 p-4">
                    <div class="flex">
                        <div class="flex-shrink-0">
                            <i class="fa fa-exclamation-triangle text-yellow-400 text-xl"></i>
                        </div>
                        <div class="ml-3">
                            <h4 class="text-sm font-medium text-yellow-800">教学难点提示</h4>
                            <div class="mt-2 text-sm text-yellow-700">
                                <p>集合间的关系是学生理解的难点，北师大版从序理论角度的讲解虽然深入，但对普通学生可能难度较大。建议结合人教版的直观讲解和苏教版的实例，帮助学生掌握。</p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- 教师讨论区 -->
        <div class="bg-white rounded-xl shadow-sm p-6 mb-6">
            <div class="flex items-center justify-between>
            <div class="flex items-center justify-between mb-4">
                <h3 class="font-bold text-gray-800">教师讨论区</h3>
                <button class="bg-primary text-white px-4 py-2 rounded-lg hover:bg-primary/90 transition-colors text-sm flex items-center">
                    <i class="fa fa-comment-o mr-1"></i> 发表评论
                </button>
            </div>
            
            <div class="space-y-4 max-h-96 overflow-y-auto scrollbar-thin pr-2">
                <!-- 评论1 -->
                <div class="border-b border-gray-100 pb-4">
                    <div class="flex items-start">
                        <img src="https://picsum.photos/id/64/40/40" alt="用户头像" class="w-8 h-8 rounded-full object-cover mr-3">
                        <div class="flex-1">
                            <div class="flex items-center justify-between">
                                <h4 class="text-sm font-medium text-gray-900">王老师</h4>
                                <span class="text-xs text-gray-500">3天前</span>
                            </div>
                            <p class="mt-1 text-sm text-gray-700">
                                我认为人教版对集合概念的引入更符合学生的认知规律，特别是对元素三大特性的强调非常到位。在实际教学中，我会结合苏教版的区间表示法，因为这对后续学习函数定义域很有帮助。
                            </p>
                            <div class="mt-2 flex items-center space-x-4">
                                <button class="text-gray-500 hover:text-primary text-xs flex items-center">
                                    <i class="fa fa-thumbs-o-up mr-1"></i> 24
                                </button>
                                <button class="text-gray-500 hover:text-primary text-xs flex items-center">
                                    <i class="fa fa-comment-o mr-1"></i> 回复
                                </button>
                                <button class="text-gray-500 hover:text-primary text-xs flex items-center">
                                    <i class="fa fa-bookmark-o mr-1"></i> 收藏
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 评论2 -->
                <div class="border-b border-gray-100 pb-4">
                    <div class="flex items-start">
                        <img src="https://picsum.photos/id/91/40/40" alt="用户头像" class="w-8 h-8 rounded-full object-cover mr-3">
                        <div class="flex-1">
                            <div class="flex items-center justify-between">
                                <h4 class="text-sm font-medium text-gray-900">张老师</h4>
                                <span class="text-xs text-gray-500">1周前</span>
                            </div>
                            <p class="mt-1 text-sm text-gray-700">
                                北师大版对集合论历史的介绍很有价值，能帮助学生理解数学概念的发展过程。不过对于基础薄弱的学生，可能会觉得内容偏难。建议分层教学，对学有余力的学生推荐北师大版的拓展内容。
                            </p>
                            <div class="mt-2 flex items-center space-x-4">
                                <button class="text-gray-500 hover:text-primary text-xs flex items-center">
                                    <i class="fa fa-thumbs-o-up mr-1"></i> 18
                                </button>
                                <button class="text-gray-500 hover:text-primary text-xs flex items-center">
                                    <i class="fa fa-comment-o mr-1"></i> 回复
                                </button>
                                <button class="text-gray-500 hover:text-primary text-xs flex items-center">
                                    <i class="fa fa-bookmark-o mr-1"></i> 收藏
                                </button>
                            </div>
                            
                            <!-- 嵌套回复 -->
                            <div class="mt-3 ml-6 pl-3 border-l-2 border-gray-200">
                                <div class="flex items-start">
                                    <img src="https://picsum.photos/id/65/40/40" alt="用户头像" class="w-6 h-6 rounded-full object-cover mr-2">
                                    <div class="flex-1">
                                        <div class="flex items-center justify-between">
                                            <h5 class="text-xs font-medium text-gray-900">李老师</h5>
                                            <span class="text-xs text-gray-500">6天前</span>
                                        </div>
                                        <p class="mt-1 text-xs text-gray-700">
                                            同意您的观点，我在教学中也采用了类似的分层策略，效果不错。特别是对于数学竞赛生，北师大版的递归定义法和特征函数法对他们很有启发。
                                        </p>
                                        <div class="mt-1 flex items-center space-x-4">
                                            <button class="text-gray-500 hover:text-primary text-xs flex items-center">
                                                <i class="fa fa-thumbs-o-up mr-1"></i> 7
                                            </button>
                                            <button class="text-gray-500 hover:text-primary text-xs flex items-center">
                                                <i class="fa fa-reply mr-1"></i> 回复
                                            </button>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 评论3 -->
                <div>
                    <div class="flex items-start">
                        <img src="https://picsum.photos/id/22/40/40" alt="用户头像" class="w-8 h-8 rounded-full object-cover mr-3">
                        <div class="flex-1">
                            <div class="flex items-center justify-between">
                                <h4 class="text-sm font-medium text-gray-900">刘老师</h4>
                                <span class="text-xs text-gray-500">2周前</span>
                            </div>
                            <p class="mt-1 text-sm text-gray-700">
                                苏教版对集合间不相交关系的强调很有特色，这对后续概率学习中互斥事件的理解很有帮助。建议在教学中提前做好衔接铺垫，让学生建立知识间的联系。
                            </p>
                            <div class="mt-2 flex items-center space-x-4">
                                <button class="text-gray-500 hover:text-primary text-xs flex items-center">
                                    <i class="fa fa-thumbs-o-up mr-1"></i> 12
                                </button>
                                <button class="text-gray-500 hover:text-primary text-xs flex items-center">
                                    <i class="fa fa-comment-o mr-1"></i> 回复
                                </button>
                                <button class="text-gray-500 hover:text-primary text-xs flex items-center">
                                    <i class="fa fa-bookmark-o mr-1"></i> 收藏
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 发表评论输入框 -->
            <div class="mt-6">
                <label for="comment" class="block text-sm font-medium text-gray-700 mb-2">发表您的看法</label>
                <textarea id="comment" rows="3" class="w-full px-3 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-primary/20 focus:border-primary transition-all resize-none" placeholder="分享您对这些教材版本的使用经验和教学建议..."></textarea>
                <div class="mt-3 flex justify-end">
                    <button class="bg-primary text-white px-4 py-2 rounded-lg hover:bg-primary/90 transition-colors text-sm flex items-center">
                        <i class="fa fa-paper-plane mr-1"></i> 发布评论
                    </button>
                </div>
            </div>
        </div>
        
        <!-- 相关资源推荐 -->
        <div class="bg-white rounded-xl shadow-sm p-6">
            <div class="flex items-center justify-between mb-4">
                <h3 class="font-bold text-gray-800">相关资源推荐</h3>
                <a href="#" class="text-primary hover:text-primary/80 text-sm flex items-center">
                    查看更多 <i class="fa fa-angle-right ml-1"></i>
                </a>
            </div>
            
            <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4">
                <div class="border border-gray-100 rounded-lg overflow-hidden hover:shadow-md transition-shadow">
                    <div class="h-36 bg-gray-100 flex items-center justify-center">
                        <i class="fa fa-file-pdf-o text-gray-400 text-5xl"></i>
                    </div>
                    <div class="p-4">
                        <h4 class="font-medium text-gray-800 mb-1">集合与常用逻辑用语教学指导</h4>
                        <p class="text-sm text-gray-500 mb-3">各版本教材对比分析及教学建议</p>
                        <div class="flex items-center justify-between">
                            <span class="text-xs text-gray-400">2.4 MB</span>
                            <button class="text-primary hover:text-primary/80 text-sm flex items-center">
                                <i class="fa fa-download mr-1"></i> 下载
                            </button>
                        </div>
                    </div>
                </div>
                
                <div class="border border-gray-100 rounded-lg overflow-hidden hover:shadow-md transition-shadow">
                    <div class="h-36 bg-gray-100 flex items-center justify-center">
                        <i class="fa fa-file-powerpoint-o text-gray-400 text-5xl"></i>
                    </div>
                    <div class="p-4">
                        <h4 class="font-medium text-gray-800 mb-1">集合概念引入教学设计</h4>
                        <p class="text-sm text-gray-500 mb-3">结合多版本优势的教学设计方案</p>
                        <div class="flex items-center justify-between">
                            <span class="text-xs text-gray-400">3.1 MB</span>
                            <button class="text-primary hover:text-primary/80 text-sm flex items-center">
                                <i class="fa fa-download mr-1"></i> 下载
                            </button>
                        </div>
                    </div>
                </div>
                
                <div class="border border-gray-100 rounded-lg overflow-hidden hover:shadow-md transition-shadow">
                    <div class="h-36 bg-gray-100 flex items-center justify-center">
                        <i class="fa fa-file-excel-o text-gray-400 text-5xl"></i>
                    </div>
                    <div class="p-4">
                        <h4 class="font-medium text-gray-800 mb-1">多版本知识点对照表</h4>
                        <p class="text-sm text-gray-500 mb-3">高中数学必修第一册全章节对比</p>
                        <div class="flex items-center justify-between">
                            <span class="text-xs text-gray-400">1.8 MB</span>
                            <button class="text-primary hover:text-primary/80 text-sm flex items-center">
                                <i class="fa fa-download mr-1"></i> 下载
                            </button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </main>

    <!-- 页脚 -->
    <footer class="bg-gray-800 text-white py-12 mt-10">
        <div class="container mx-auto px-4">
            <div class="grid grid-cols-1 md:grid-cols-4 gap-8">
                <div>
                    <div class="flex items-center mb-4">
                        <i class="fa fa-book text-primary text-2xl mr-2"></i>
                        <h3 class="text-xl font-bold">教材对比系统</h3>
                    </div>
                    <p class="text-gray-400 mb-4">专业的教材版本对比分析平台，助力教师教学研究和学生自主学习</p>
                    <div class="flex space-x-4">
                        <a href="#" class="text-gray-400 hover:text-white transition-colors">
                            <i class="fa fa-weibo"></i>
                        </a>
                        <a href="#" class="text-gray-400 hover:text-white transition-colors">
                            <i class="fa fa-wechat"></i>
                        </a>
                        <a href="#" class="text-gray-400 hover:text-white transition-colors">
                            <i class="fa fa-qq"></i>
                        </a>
                        <a href="#" class="text-gray-400 hover:text-white transition-colors">
                            <i class="fa fa-github"></i>
                        </a>
                    </div>
                </div>
                
                <div>
                    <h4 class="text-lg font-medium mb-4">快速链接</h4>
                    <ul class="space-y-2">
                        <li><a href="#" class="text-gray-400 hover:text-white transition-colors">首页</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition-colors">教材库</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition-colors">版本对比</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition-colors">分析报告</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition-colors">教学资源</a></li>
                    </ul>
                </div>
                
                <div>
                    <h4 class="text-lg font-medium mb-4">学科分类</h4>
                    <ul class="space-y-2">
                        <li><a href="#" class="text-gray-400 hover:text-white transition-colors">高中数学</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition-colors">高中物理</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition-colors">高中化学</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition-colors">高中生物</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition-colors">高中语文</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition-colors">高中英语</a></li>
                    </ul>
                </div>
                
                <div>
                    <h4 class="text-lg font-medium mb-4">联系我们</h4>
                    <ul class="space-y-2">
                        <li class="flex items-center text-gray-400">
                            <i class="fa fa-envelope-o mr-2"></i>
                            <span>contact@jiaocai.com</span>
                        </li>
                        <li class="flex items-center text-gray-400">
                            <i class="fa fa-phone mr-2"></i>
                            <span>400-876-5432</span>
                        </li>
                        <li class="flex items-center text-gray-400">
                            <i class="fa fa-map-marker mr-2"></i>
                            <span>北京市海淀区教育科技大厦15层</span>
                        </li>
                    </ul>
                    
                    <div class="mt-4">
                        <h5 class="text-sm font-medium mb-2">关注公众号</h5>
                        <div class="bg-white p-2 rounded-lg inline-block">
                            <img src="https://picsum.photos/id/20/100/100" alt="公众号二维码" class="w-24 h-24">
                        </div>
                    </div>
                </div>
            </div>
            
            <div class="mt-8 pt-8 border-t border-gray-700 text-center text-gray-400 text-sm">
                <p>© 2023 教材对比系统 版权所有 | 京ICP备20234567号-1</p>
                <div class="mt-2 flex justify-center space-x-4">
                    <a href="#" class="hover:text-white transition-colors">隐私政策</a>
                    <a href="#" class="hover:text-white transition-colors">服务条款</a>
                    <a href="#" class="hover:text-white transition-colors">帮助中心</a>
                </div>
            </div>
        </div>
    </footer>

    <!-- 图表初始化脚本 -->
    <script>
        // 知识点覆盖度图表
        const coverageCtx = document.getElementById('coverage-chart').getContext('2d');
        new Chart(coverageCtx, {
            type: 'bar',
            data: {
                labels: ['人教版', '苏教版', '北师大版'],
                datasets: [{
                    label: '知识点数量',
                    data: [12, 10, 14],
                    backgroundColor: [
                        'rgba(78, 114, 183, 0.7)',
                        'rgba(228, 161, 45, 0.7)',
                        'rgba(85, 169, 84, 0.7)'
                    ],
                    borderColor: [
                        'rgba(78, 114, 183, 1)',
                        'rgba(228, 161, 45, 1)',
                        'rgba(85, 169, 84, 1)'
                    ],
                    borderWidth: 1
                }]
            },
            options: {
                responsive: true,
                maintainAspectRatio: false,
                scales: {
                    y: {
                        beginAtZero: true,
                        ticks: {
                            precision: 0
                        }
                    }
                },
                plugins: {
                    legend: {
                        display: false
                    }
                }
            }
        });
        
        // 内容结构对比图表
        const structureCtx = document.getElementById('structure-chart').getContext('2d');
        new Chart(structureCtx, {
            type: 'radar',
            data: {
                labels: ['集合概念', '表示方法', '集合关系', '集合运算', '逻辑用语'],
                datasets: [
                    {
                        label: '人教版',
                        data: [90, 80, 85, 75, 70],
                        backgroundColor: 'rgba(78, 114, 183, 0.2)',
                        borderColor: 'rgba(78, 114, 183, 1)',
                        pointBackgroundColor: 'rgba(78, 114, 183, 1)',
                        pointBorderColor: '#fff',
                        pointHoverBackgroundColor: '#fff',
                        pointHoverBorderColor: 'rgba(78, 114, 183, 1)'
                    },
                    {
                        label: '苏教版',
                        data: [80, 75, 80, 85, 90],
                        backgroundColor: 'rgba(228, 161, 45, 0.2)',
                        borderColor: 'rgba(228, 161, 45, 1)',
                        pointBackgroundColor: 'rgba(228, 161, 45, 1)',
                        pointBorderColor: '#fff',
                        pointHoverBackgroundColor: '#fff',
                        pointHoverBorderColor: 'rgba(228, 161, 45, 1)'
                    },
                    {
                        label: '北师大版',
                        data: [85, 90, 85, 80, 75],
                        backgroundColor: 'rgba(85, 169, 84, 0.2)',
                        borderColor: 'rgba(85, 169, 84, 1)',
                        pointBackgroundColor: 'rgba(85, 169, 84, 1)',
                        pointBorderColor: '#fff',
                        pointHoverBackgroundColor: '#fff',
                        pointHoverBorderColor: 'rgba(85, 169, 84, 1)'
                    }
                ]
            },
            options: {
                responsive: true,
                maintainAspectRatio: false,
                scales: {
                    r: {
                        beginAtZero: true,
                        max: 100,
                        ticks: {
                            display: false
                        }
                    }
                }
            }
        });
        
        // 难度分布图表
        const difficultyCtx = document.getElementById('difficulty-chart').getContext('2d');
        new Chart(difficultyCtx, {
            type: 'line',
            data: {
                labels: ['集合概念', '表示方法', '集合关系', '集合运算', '逻辑用语'],
                datasets: [
                    {
                        label: '人教版',
                        data: [2, 2.5, 3, 3.5, 3],
                        borderColor: 'rgba(78, 114, 183, 1)',
                        backgroundColor: 'rgba(78, 114, 183, 0.1)',
                        tension: 0.3,
                        fill: true
                    },
                    {
                        label: '苏教版',
                        data: [2.5, 3, 3.5, 4, 3.5],
                        borderColor: 'rgba(228, 161, 45, 1)',
                        backgroundColor: 'rgba(228, 161, 45, 0.1)',
                        tension: 0.3,
                        fill: true
                    },
                    {
                        label: '北师大版',
                        data: [2, 3.5, 4, 3.5, 3],
                        borderColor: 'rgba(85, 169, 84, 1)',
                        backgroundColor: 'rgba(85, 169, 84, 0.1)',
                        tension: 0.3,
                        fill: true
                    }
                ]
            },
            options: {
                responsive: true,
                maintainAspectRatio: false,
                scales: {
                    y: {
                        beginAtZero: true,
                        max: 5,
                        title: {
                            display: true,
                            text: '难度系数 (1-5)'
                        }
                    }
                }
            }
        });
    </script>
</body>
</html>
